/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.thienloc.omap.entity.report;

/**
 *
 * @author GiangLT
 */
public class Production {

    private String datetime;
    private String serviceName;
    private String shortCode;
    private String operator;
    private Integer total;

    public Production(String datetime, String serviceName, String shortCode, String operator, Integer total) {
        this.datetime = datetime;
        this.serviceName = serviceName;
        this.shortCode = shortCode;
        this.operator = operator;
        this.total = total;
    }

    public Production() {
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getShortCode() {
        return shortCode;
    }

    public void setShortCode(String shortCode) {
        this.shortCode = shortCode;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
    
    public void addTotal(Integer delta) {
        this.total += delta;
    }
}
